package com.fengwei.requestdata.dataChangeApply;

import javax.validation.constraints.NotNull;

public class MdmsDatachangeApplyAddData {

    @NotNull(message = "数据库编号不能为空")
    public Long databaseId;

    @NotNull(message = "数据库名称不能为空")
    public String databaseName;

    @NotNull(message = "请求内容不能为空")
    public String applyContent;

    @NotNull(message = "回退语句不能为空")
    public String backContent;

    @NotNull(message = "影响的行数不能为空")
    public Integer affectLineNum;

    public Long getDatabaseId() {
        return databaseId;
    }

    public void setDatabaseId(Long databaseId) {
        this.databaseId = databaseId;
    }

    public String getDatabaseName() {
        return databaseName;
    }

    public void setDatabaseName(String databaseName) {
        this.databaseName = databaseName;
    }

    public String getApplyContent() {
        return applyContent;
    }

    public void setApplyContent(String applyContent) {
        this.applyContent = applyContent;
    }

    public String getBackContent() {
        return backContent;
    }

    public void setBackContent(String backContent) {
        this.backContent = backContent;
    }

    public Integer getAffectLineNum() {
        return affectLineNum;
    }

    public void setAffectLineNum(Integer affectLineNum) {
        this.affectLineNum = affectLineNum;
    }
}
